<template>
  <div class='com-foot'>
    <div class="foot-head w1200">
      <p><span v-for="(item, index) in footData" :key="index" class="hover">{{item.label}}</span></p>
    </div>
    <div class="foot-body foot-head w1200">
      <p class="copy-right white-space">{{copyRight}}</p>
    </div>
    <div class="foot-foot w1200">
      <div v-for="(item, index) in copyRightData" :key="index">
        <img :src="item.img||defaultImg" alt="copyImg" class="fl">
        <span>{{item.label}}</span>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  components: {},
  name: "",
  data() {
    return {
      footData:[
        {label:"关于我们",router:""},
        {label:"法律申明",router:""},
        {label:"投资洽谈",router:""},
        {label:"联系我们",router:""},
        {label:"工商执照",router:""},
      ],
      copyRight:'COPYRIGHT © 风水网 www.fengshui.com 鄂ICP备 132563号-3 ICP证：鄂B2-20181226',

      copyRightData:[
        {logo:"",label:"网络警察提醒你"},
        {logo:"",label:"网络警察提醒你"},
        {logo:"",label:"网络警察提醒你"},
        {logo:"",label:"网络警察提醒你"},
      ],

      defaultImg:require('../../assets/imgs/homepage/copyright.jpg'),

    };
  },
  methods: {
    /**
     * @name 执行click
     */
    doClick(item){
      if(item.router)this.$router.push(item.router)
    },
  },
  created() {}
};
</script>
<style lang="scss" scoped>
.com-foot {
  border-top: 1px solid #eee;
  padding: 30px 0; 

  .foot-head{
    line-height: 20px;
    padding-bottom: 10px;

    >p{
      font-size: 13px;
      width: 45%;
      margin: 0 auto;
      display: flex;
      justify-content: center;

      span{
        display: inline-block;
        width: 70px;
        text-align: center;
        border-right: 1px solid #ddd;
        box-sizing: border-box;
      }

      span:nth-last-of-type(1){
        border-right: none;
      }
    }
  }
  .foot-body{
    padding: 0;
  }
  .foot-foot{
    width: 35%;
    font-size: 12px;
    color: $c999;
    display: flex;
    padding: 15px 0 10px;
    justify-content: space-between;

    >div{
      width: 100px;
      
    }

    img{
      width: 30px;
      height: 30px;
      margin-right: 5px;
    }

    span{
      line-height: 12px;
    }
  }
}
</style>